LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
	IDtvService.cpp \
	tuner.cpp \
	signal.cpp \
	buffer.cpp \
	channel.cpp \
	filter.cpp \
	descrambler.cpp \
	demux.cpp \
	DtvService.cpp \
	main_DtvService.cpp

LOCAL_SHARED_LIBRARIES := \
	libhardware \
	libcutils \
	liblog \
	libbinder \
	libutils
	
#LOCAL_CFLAGS += -g -O0

ENABLE_PROFILE := false

ifeq ($(ENABLE_PROFILE),true)
$(info GNU Profiler is enabled)
LOCAL_CFLAGS += -g -DENABLE_PROFILE 
LOCAL_STATIC_LIBRARIES += andprof
endif

LOCAL_MODULE:= DtvService

include $(BUILD_EXECUTABLE)

